using WB.Mvc.Forms.Widgets;

namespace WB.Mvc.Forms
{
	/// <summary>
	/// Represents a field for a text area.
	/// </summary>
	public class TextAreaField : Field
	{
		public TextAreaField(string name): base(name)
		{
		}

		public override Widget GetWidget()
		{
			return new TextArea(Name) {Value = Value};
		}
	}
}